forum

home / developersection / forums / create new reference to array with different length

Create new reference to array with different length

Anonymous User 2036 05-Oct-2013

Given some array:

int[] array = new int[8000];

Is it possible to refer to a new array such that:

int[] array2 = Array.SameReferenceDifferentLength(array, 4000);

c# c# 
Updated on 05-Oct-2013

I am a content writter !


Message
Can you answer this question?

Answer

1 Answers

Liked By